package com.virtualmall.dao;

import java.util.List;

import com.virtualmall.bean.ShoppingCart;
import com.virtualmall.common.Page;


public interface ShoppingCartDao extends GenericDao<ShoppingCart, Long>{
    
    List<ShoppingCart> getShoppingCartList(Long userId,Page page);
    
    Long getShoppingCartListCount(Long userId);

    void delete(Long userId);
    
    Double getShoppingCartTotalPrice(Long userId);
}
